<template>
  <view class="member-interflow-box">
    <view class="member-user-list">
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三张三张三张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
        <view class="user-name"> <text>张三</text></view>
      </view>
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/bl-add.png"></image>
      </view>
      <view class="user-cont" @click="handleRemove">
        <image class="user-avtor" src="@/static/interflow/bl-mous.png"></image>
      </view>
    </view>
    <div class="member-user-more bafff">
      <text>查看更多人员</text>
      <image src="@/static/interflow/bl-right.png"></image>
    </div>
    <div class="member-user-set bafff" @click="handleSet">
      <image mode="widthFix" src="@/static/interflow/bl-sz.png"></image>
    </div>
    <view class="member-user-avtor bafff">
      <text>版聊头像</text>
      <image src="@/static/interflow/avtor.png"></image>
    </view>
    <view class="member-user-avtor bafff">
      <text>版聊名称</text>
      <!-- <text style="color:#7a7979">版聊名称</text> -->
      <view class="user-input">
        <u--input></u--input>
      </view>
    </view>
    <view class="member-user-introduction bafff">
      <view class="intro-con"><text>版聊简介</text></view>
      <u--textarea></u--textarea>
    </view>
    <view class="user-btn">
      <view class="btn-dele"> <u-button shape="circle" text="删除版聊组"></u-button></view>
      <u-button type="primary" shape="circle" text="保存"></u-button>
    </view>
  </view>
</template>

<script>
  export default {
    components: {

    },
    data() {
      return {

      };
    },
    //下拉刷新
    onPullDownRefresh() {

    },
    created() {


    },

    onLoad() {
      uni.setNavigationBarTitle({
        title: '成员'
      });

    },
    async onShow() {

    },
    async mounted() {

    },

    methods: {
      handleSearch() {

      },
      handleSet() {
        uni.navigateTo({
          url: '/pages/home/member-user?id=' + 1
        });
      },
      handleRemove() {
        uni.navigateTo({
          url: '/pages/home/member-remove?id=' + 1
        });
      }



    },
  };
</script>

<style lang="scss">
  .member-interflow-box {
    background: #f6f7f9;
    min-height: 100vh;
    width: 100vw;

    .member-user-list {
      background: #ffffff;
      padding: 15px;
      display: flex;
      flex-wrap: wrap;

      .user-cont {
        margin-bottom: 10px;
        margin-left: 8px;
        margin-right: 8px;
        text-align: center;

        .user-name {
          width: 50px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;

          text {
            color: #7a7979;
            font-size: 12px;
          }
        }

        image {
          height: 40px;
          width: 40px;
          margin-top: 5px;
          border-radius: 5px;
        }
      }
    }

    .member-user-more {
      display: flex;
      justify-content: center;
      align-items: center;
      padding-bottom: 15px;

      text {
        color: #7a7979;
      }

      image {
        width: 15px;
        height: 15px;
      }
    }

    .member-user-set {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding-bottom: 15px;
      padding-right: 15px;

      image {
        width: 20px;
      }
    }

    .member-user-avtor {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px;
      margin-top: 10px;

      .user-input {}

      image {
        width: 50px;
        height: 50px;
      }
    }

    .member-user-introduction {
      padding: 15px;
      margin-top: 10px;

      .intro-con {
        margin-bottom: 10px;
      }
    }

    .user-btn {
      margin-left: 30px;
      margin-right: 30px;
      margin-top: 10px;

      .btn-dele {
        margin-bottom: 10px;
      }
    }
  }
</style>s